package red.cola.model.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import red.cola.model.base.BaseEntity;

/**
 * @Name: SysUserRole
 * @Author: Cola
 * @Time: 2023/3/5 13:23
 * @Description: SysUserRole 用户角色
 */
@Data
@ApiModel(description = "用户角色")
@TableName("sys_user_role")
public class SysUserRole extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色 ID")
    @TableField("role_id")
    private Long roleId;

    @ApiModelProperty(value = "用户 ID")
    @TableField("user_id")
    private Long userId;
}

